<template>
    <div>
        <div class='post-preview'>
            <a :href='"/blog/"+post.slug'>
                <h2 class='post-title'>{{ post.title }}</h2>
                <h3 class='post-subtitle'>{{ post.subtitle }}</h3>
                
            </a>
            <p class='post-meta'>
                发布于{{ post.published_at }}在{{ post.tagLinks }}
            </p>
        </div>
        <hr />
    </div>
</template>

<script>
export default {
    name: 'HomePostList',
    props: ['post']
}
</script>